.class public Lrexsee/core/browser/Browser;
.super Landroid/webkit/WebView;
.source "Browser.java"


# static fields
.field public static final EVENT_ONANIMATIONEND:Ljava/lang/String; = "onAnimationEnd"

.field public static final EVENT_ONANIMATIONREPEAT:Ljava/lang/String; = "onAnimationRepeat"

.field public static final EVENT_ONANIMATIONSTART:Ljava/lang/String; = "onAnimationStart"

.field public static final EVENT_ONDESTROY:Ljava/lang/String; = "onDestroy"

.field public static final EVENT_ONDOUBLECLICK:Ljava/lang/String; = "onDoubleClick"

.field public static final EVENT_ONEXCEPTION:Ljava/lang/String; = "onException"

.field public static final EVENT_ONFLING:Ljava/lang/String; = "onFling"

.field public static final EVENT_ONLONGPRESS:Ljava/lang/String; = "onLongPress"

.field public static final EVENT_ONPAUSE:Ljava/lang/String; = "onPause"

.field public static final EVENT_ONRESUME:Ljava/lang/String; = "onResume"

.field public static final EVENT_ONSCREENORIENTATIONCHANGED:Ljava/lang/String; = "onScreenOrientationChanged"

.field public static final EVENT_ONTOUCHCANCEL:Ljava/lang/String; = "onTouchCancel"

.field public static final EVENT_ONTOUCHDOWN:Ljava/lang/String; = "onTouchDown"

.field public static final EVENT_ONTOUCHMOVE:Ljava/lang/String; = "onTouchMove"

.field public static final EVENT_ONTOUCHUP:Ljava/lang/String; = "onTouchUp"


# instance fields
.field public final EVENT_ONREXSEEREADY:Ljava/lang/String;

.field public final activityResult:Lrexsee/core/browser/clazz/ActivityResult;

.field public allowErrorDialog:Z

.field public final application:Lrexsee/core/application/RexseeApplication;

.field public final containerDiv:Lrexsee/core/widget/Div;

.field public final destroyListeners:Lrexsee/core/browser/clazz/DestroyListeners;

.field public final domainWhiteList:Lrexsee/core/browser/clazz/DomainWhiteList;

.field public final errorListeners:Lrexsee/core/browser/clazz/ErrorListeners;

.field public final eventList:Lrexsee/core/browser/clazz/EventList;

.field public final fileSelector:Lrexsee/core/browser/clazz/FileSelector;

.field public final function:Lrexsee/core/browser/RexseeBrowser;

.field public final garbageCollector:Lrexsee/core/browser/RexseeGarbageCollector;

.field public final history:Lrexsee/core/browser/clazz/History;

.field public initIntent:Landroid/content/Intent;

.field public final interfaceList:Lrexsee/core/browser/clazz/JavascriptInterfaceList;

.field public isLaunching:Z

.field public final loadResourceListeners:Lrexsee/core/browser/clazz/LoadResourceListeners;

.field public final menu:Lrexsee/core/menu/RexseeMenu;

.field public final pageBeforeStartListeners:Lrexsee/core/browser/clazz/PageBeforeStartListeners;

.field public final pageReadyListeners:Lrexsee/core/browser/clazz/PageReadyListeners;

.field public final pageStartedListeners:Lrexsee/core/browser/clazz/PageStartedListeners;

.field public final parentBrowser:Lrexsee/core/browser/Browser;

.field public parentDialog:Lrexsee/core/browser/clazz/BrowserParent;

.field public final pauseListeners:Lrexsee/core/browser/clazz/PauseListeners;

.field public final progressCover:Lrexsee/core/progress/RexseeProgressCover;

.field public final progressDialog:Lrexsee/core/progress/RexseeProgressDialog;

.field public final progressListeners:Lrexsee/core/browser/clazz/LoadingProgressListeners;

.field public final promptListeners:Lrexsee/core/browser/RexseePrompt;

.field public final resumeListeners:Lrexsee/core/browser/clazz/ResumeListeners;

.field public source:Ljava/lang/String;

.field public final specialKeyListener:Lrexsee/core/browser/clazz/SpecialKeyListener;

.field public final stopListeners:Lrexsee/core/browser/clazz/StopListeners;

.field public final styleSheet:Lrexsee/core/style/StyleSheet;

.field public final titleListeners:Lrexsee/core/browser/clazz/ReceivedTitleListeners;

.field public final touchEvent:Lrexsee/core/browser/RexseeBrowserTouchEvent;

.field public final touchEventInfo:Lrexsee/core/browser/clazz/TouchEventInfo;

.field public final urlListeners:Lrexsee/core/browser/RexseeUrl;

.field public windowListener:Lrexsee/core/browser/clazz/WindowCreateCloseListener;


# direct methods
.method public constructor <init>(Landroid/content/Context;Lrexsee/core/browser/Browser;Lrexsee/core/widget/Div;Lrexsee/core/browser/clazz/BrowserParent;)V
    .locals 14
    .param p1, "context"    # Landroid/content/Context;
    .param p2, "theParentBrowser"    # Lrexsee/core/browser/Browser;
    .param p3, "theParentDiv"    # Lrexsee/core/widget/Div;
    .param p4, "theParentDialog"    # Lrexsee/core/browser/clazz/BrowserParent;

    .prologue
    .line 121
    invoke-direct {p0, p1}, Landroid/webkit/WebView;-><init>(Landroid/content/Context;)V

    .line 73
    new-instance v2, Lrexsee/core/application/RexseeApplication;

    invoke-virtual {p0}, Lrexsee/core/browser/Browser;->getContext()Landroid/content/Context;

    move-result-object v3

    invoke-direct {v2, v3}, Lrexsee/core/application/RexseeApplication;-><init>(Landroid/content/Context;)V

    iput-object v2, p0, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    .line 74
    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "on"

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v3, p0, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    iget-object v3, v3, Lrexsee/core/application/RexseeApplication;->resources:Lrexsee/core/application/Resource;

    iget-object v3, v3, Lrexsee/core/application/Resource;->prefix:Ljava/lang/String;

    const/4 v4, 0x0

    const/4 v5, 0x1

    invoke-virtual {v3, v4, v5}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/String;->toUpperCase()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    iget-object v3, p0, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    iget-object v3, v3, Lrexsee/core/application/RexseeApplication;->resources:Lrexsee/core/application/Resource;

    iget-object v3, v3, Lrexsee/core/application/Resource;->prefix:Ljava/lang/String;

    const/4 v4, 0x1

    invoke-virtual {v3, v4}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, "Ready"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    iput-object v2, p0, Lrexsee/core/browser/Browser;->EVENT_ONREXSEEREADY:Ljava/lang/String;

    .line 76
    new-instance v2, Lrexsee/core/browser/RexseeGarbageCollector;

    invoke-direct {v2, p0}, Lrexsee/core/browser/RexseeGarbageCollector;-><init>(Lrexsee/core/browser/Browser;)V

    iput-object v2, p0, Lrexsee/core/browser/Browser;->garbageCollector:Lrexsee/core/browser/RexseeGarbageCollector;

    .line 77
    new-instance v2, Lrexsee/core/browser/clazz/DomainWhiteList;

    invoke-virtual {p0}, Lrexsee/core/browser/Browser;->getContext()Landroid/content/Context;

    move-result-object v3

    invoke-direct {v2, v3}, Lrexsee/core/browser/clazz/DomainWhiteList;-><init>(Landroid/content/Context;)V

    iput-object v2, p0, Lrexsee/core/browser/Browser;->domainWhiteList:Lrexsee/core/browser/clazz/DomainWhiteList;

    .line 78
    new-instance v2, Lrexsee/core/browser/clazz/JavascriptInterfaceList;

    invoke-direct {v2, p0}, Lrexsee/core/browser/clazz/JavascriptInterfaceList;-><init>(Lrexsee/core/browser/Browser;)V

    iput-object v2, p0, Lrexsee/core/browser/Browser;->interfaceList:Lrexsee/core/browser/clazz/JavascriptInterfaceList;

    .line 79
    new-instance v2, Lrexsee/core/browser/clazz/EventList;

    invoke-direct {v2, p0}, Lrexsee/core/browser/clazz/EventList;-><init>(Lrexsee/core/browser/Browser;)V

    iput-object v2, p0, Lrexsee/core/browser/Browser;->eventList:Lrexsee/core/browser/clazz/EventList;

    .line 80
    new-instance v2, Lrexsee/core/browser/clazz/TouchEventInfo;

    invoke-direct {v2}, Lrexsee/core/browser/clazz/TouchEventInfo;-><init>()V

    iput-object v2, p0, Lrexsee/core/browser/Browser;->touchEventInfo:Lrexsee/core/browser/clazz/TouchEventInfo;

    .line 81
    new-instance v2, Lrexsee/core/browser/clazz/History;

    invoke-direct {v2}, Lrexsee/core/browser/clazz/History;-><init>()V

    iput-object v2, p0, Lrexsee/core/browser/Browser;->history:Lrexsee/core/browser/clazz/History;

    .line 82
    new-instance v2, Lrexsee/core/browser/clazz/FileSelector;

    invoke-direct {v2, p0}, Lrexsee/core/browser/clazz/FileSelector;-><init>(Lrexsee/core/browser/Browser;)V

    iput-object v2, p0, Lrexsee/core/browser/Browser;->fileSelector:Lrexsee/core/browser/clazz/FileSelector;

    .line 83
    new-instance v2, Lrexsee/core/browser/clazz/SpecialKeyListener;

    invoke-direct {v2}, Lrexsee/core/browser/clazz/SpecialKeyListener;-><init>()V

    iput-object v2, p0, Lrexsee/core/browser/Browser;->specialKeyListener:Lrexsee/core/browser/clazz/SpecialKeyListener;

    .line 85
    new-instance v2, Lrexsee/core/browser/clazz/ActivityResult;

    invoke-virtual {p0}, Lrexsee/core/browser/Browser;->getContext()Landroid/content/Context;

    move-result-object v3

    invoke-direct {v2, v3}, Lrexsee/core/browser/clazz/ActivityResult;-><init>(Landroid/content/Context;)V

    iput-object v2, p0, Lrexsee/core/browser/Browser;->activityResult:Lrexsee/core/browser/clazz/ActivityResult;

    .line 86
    new-instance v2, Lrexsee/core/browser/clazz/PauseListeners;

    invoke-direct {v2}, Lrexsee/core/browser/clazz/PauseListeners;-><init>()V

    iput-object v2, p0, Lrexsee/core/browser/Browser;->pauseListeners:Lrexsee/core/browser/clazz/PauseListeners;

    .line 87
    new-instance v2, Lrexsee/core/browser/clazz/ResumeListeners;

    invoke-direct {v2}, Lrexsee/core/browser/clazz/ResumeListeners;-><init>()V

    iput-object v2, p0, Lrexsee/core/browser/Browser;->resumeListeners:Lrexsee/core/browser/clazz/ResumeListeners;

    .line 88
    new-instance v2, Lrexsee/core/browser/clazz/DestroyListeners;

    invoke-direct {v2}, Lrexsee/core/browser/clazz/DestroyListeners;-><init>()V

    iput-object v2, p0, Lrexsee/core/browser/Browser;->destroyListeners:Lrexsee/core/browser/clazz/DestroyListeners;

    .line 90
    new-instance v2, Lrexsee/core/browser/clazz/LoadingProgressListeners;

    invoke-direct {v2}, Lrexsee/core/browser/clazz/LoadingProgressListeners;-><init>()V

    iput-object v2, p0, Lrexsee/core/browser/Browser;->progressListeners:Lrexsee/core/browser/clazz/LoadingProgressListeners;

    .line 91
    new-instance v2, Lrexsee/core/browser/clazz/ReceivedTitleListeners;

    invoke-direct {v2}, Lrexsee/core/browser/clazz/ReceivedTitleListeners;-><init>()V

    iput-object v2, p0, Lrexsee/core/browser/Browser;->titleListeners:Lrexsee/core/browser/clazz/ReceivedTitleListeners;

    .line 92
    new-instance v2, Lrexsee/core/browser/clazz/ErrorListeners;

    invoke-direct {v2}, Lrexsee/core/browser/clazz/ErrorListeners;-><init>()V

    iput-object v2, p0, Lrexsee/core/browser/Browser;->errorListeners:Lrexsee/core/browser/clazz/ErrorListeners;

    .line 93
    new-instance v2, Lrexsee/core/browser/clazz/PageBeforeStartListeners;

    invoke-direct {v2}, Lrexsee/core/browser/clazz/PageBeforeStartListeners;-><init>()V

    iput-object v2, p0, Lrexsee/core/browser/Browser;->pageBeforeStartListeners:Lrexsee/core/browser/clazz/PageBeforeStartListeners;

    .line 94
    new-instance v2, Lrexsee/core/browser/clazz/PageStartedListeners;

    invoke-direct {v2}, Lrexsee/core/browser/clazz/PageStartedListeners;-><init>()V

    iput-object v2, p0, Lrexsee/core/browser/Browser;->pageStartedListeners:Lrexsee/core/browser/clazz/PageStartedListeners;

    .line 95
    new-instance v2, Lrexsee/core/browser/clazz/StopListeners;

    invoke-direct {v2}, Lrexsee/core/browser/clazz/StopListeners;-><init>()V

    iput-object v2, p0, Lrexsee/core/browser/Browser;->stopListeners:Lrexsee/core/browser/clazz/StopListeners;

    .line 96
    new-instance v2, Lrexsee/core/browser/clazz/PageReadyListeners;

    invoke-direct {v2}, Lrexsee/core/browser/clazz/PageReadyListeners;-><init>()V

    iput-object v2, p0, Lrexsee/core/browser/Browser;->pageReadyListeners:Lrexsee/core/browser/clazz/PageReadyListeners;

    .line 97
    new-instance v2, Lrexsee/core/browser/clazz/LoadResourceListeners;

    invoke-direct {v2}, Lrexsee/core/browser/clazz/LoadResourceListeners;-><init>()V

    iput-object v2, p0, Lrexsee/core/browser/Browser;->loadResourceListeners:Lrexsee/core/browser/clazz/LoadResourceListeners;

    .line 99
    new-instance v2, Lrexsee/core/style/StyleSheet;

    invoke-virtual {p0}, Lrexsee/core/browser/Browser;->getContext()Landroid/content/Context;

    move-result-object v3

    invoke-direct {v2, v3}, Lrexsee/core/style/StyleSheet;-><init>(Landroid/content/Context;)V

    iput-object v2, p0, Lrexsee/core/browser/Browser;->styleSheet:Lrexsee/core/style/StyleSheet;

    .line 100
    new-instance v2, Lrexsee/core/browser/RexseeUrl;

    invoke-direct {v2, p0}, Lrexsee/core/browser/RexseeUrl;-><init>(Lrexsee/core/browser/Browser;)V

    iput-object v2, p0, Lrexsee/core/browser/Browser;->urlListeners:Lrexsee/core/browser/RexseeUrl;

    .line 101
    new-instance v2, Lrexsee/core/browser/RexseeBrowser;

    invoke-direct {v2, p0}, Lrexsee/core/browser/RexseeBrowser;-><init>(Lrexsee/core/browser/Browser;)V

    iput-object v2, p0, Lrexsee/core/browser/Browser;->function:Lrexsee/core/browser/RexseeBrowser;

    .line 102
    new-instance v2, Lrexsee/core/browser/RexseeBrowserTouchEvent;

    invoke-direct {v2, p0}, Lrexsee/core/browser/RexseeBrowserTouchEvent;-><init>(Lrexsee/core/browser/Browser;)V

    iput-object v2, p0, Lrexsee/core/browser/Browser;->touchEvent:Lrexsee/core/browser/RexseeBrowserTouchEvent;

    .line 103
    new-instance v2, Lrexsee/core/browser/RexseePrompt;

    invoke-direct {v2, p0}, Lrexsee/core/browser/RexseePrompt;-><init>(Lrexsee/core/browser/Browser;)V

    iput-object v2, p0, Lrexsee/core/browser/Browser;->promptListeners:Lrexsee/core/browser/RexseePrompt;

    .line 104
    new-instance v2, Lrexsee/core/progress/RexseeProgressDialog;

    invoke-direct {v2, p0}, Lrexsee/core/progress/RexseeProgressDialog;-><init>(Lrexsee/core/browser/Browser;)V

    iput-object v2, p0, Lrexsee/core/browser/Browser;->progressDialog:Lrexsee/core/progress/RexseeProgressDialog;

    .line 105
    new-instance v2, Lrexsee/core/progress/RexseeProgressCover;

    invoke-direct {v2, p0}, Lrexsee/core/progress/RexseeProgressCover;-><init>(Lrexsee/core/browser/Browser;)V

    iput-object v2, p0, Lrexsee/core/browser/Browser;->progressCover:Lrexsee/core/progress/RexseeProgressCover;

    .line 106
    new-instance v2, Lrexsee/core/menu/RexseeMenu;

    invoke-direct {v2, p0}, Lrexsee/core/menu/RexseeMenu;-><init>(Lrexsee/core/browser/Browser;)V

    iput-object v2, p0, Lrexsee/core/browser/Browser;->menu:Lrexsee/core/menu/RexseeMenu;

    .line 108
    const/4 v2, 0x0

    iput-object v2, p0, Lrexsee/core/browser/Browser;->windowListener:Lrexsee/core/browser/clazz/WindowCreateCloseListener;

    .line 114
    const-string v2, ""

    iput-object v2, p0, Lrexsee/core/browser/Browser;->source:Ljava/lang/String;

    .line 115
    const/4 v2, 0x1

    iput-boolean v2, p0, Lrexsee/core/browser/Browser;->allowErrorDialog:Z

    .line 116
    const/4 v2, 0x0

    iput-object v2, p0, Lrexsee/core/browser/Browser;->initIntent:Landroid/content/Intent;

    .line 117
    const/4 v2, 0x1

    iput-boolean v2, p0, Lrexsee/core/browser/Browser;->isLaunching:Z

    .line 123
    move-object/from16 v0, p2

    move-object v1, p0

    iput-object v0, v1, Lrexsee/core/browser/Browser;->parentBrowser:Lrexsee/core/browser/Browser;

    .line 124
    move-object/from16 v0, p3

    move-object v1, p0

    iput-object v0, v1, Lrexsee/core/browser/Browser;->containerDiv:Lrexsee/core/widget/Div;

    .line 125
    move-object/from16 v0, p4

    move-object v1, p0

    iput-object v0, v1, Lrexsee/core/browser/Browser;->parentDialog:Lrexsee/core/browser/clazz/BrowserParent;

    .line 127
    iget-object v2, p0, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    invoke-virtual {v2}, Lrexsee/core/application/RexseeApplication;->getTimeout()I

    move-result v5

    .line 128
    .local v5, "timeout":I
    new-instance v6, Lrexsee/core/browser/Browser$1;

    invoke-direct {v6, p0}, Lrexsee/core/browser/Browser$1;-><init>(Lrexsee/core/browser/Browser;)V

    .line 138
    .local v6, "timeoutRunnable":Ljava/lang/Runnable;
    new-instance v7, Lrexsee/core/browser/Browser$2;

    invoke-direct {v7, p0}, Lrexsee/core/browser/Browser$2;-><init>(Lrexsee/core/browser/Browser;)V

    .line 144
    .local v7, "cancelRunnable":Ljava/lang/Runnable;
    iget-object v2, p0, Lrexsee/core/browser/Browser;->parentBrowser:Lrexsee/core/browser/Browser;

    if-nez v2, :cond_0

    iget-object v2, p0, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    iget-object v2, v2, Lrexsee/core/application/RexseeApplication;->resources:Lrexsee/core/application/Resource;

    iget-boolean v2, v2, Lrexsee/core/application/Resource;->progressCover:Z

    if-eqz v2, :cond_0

    .line 145
    iget-object v2, p0, Lrexsee/core/browser/Browser;->progressCover:Lrexsee/core/progress/RexseeProgressCover;

    const/4 v3, 0x0

    new-instance v4, Ljava/lang/StringBuilder;

    iget-object v8, p0, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    iget-object v8, v8, Lrexsee/core/application/RexseeApplication;->label:Ljava/lang/String;

    invoke-static {v8}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v8

    invoke-direct {v4, v8}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    sget-object v8, Lrexsee/core/lang/RexseeLanguage;->PROGRESS_STARTING:Ljava/lang/String;

    invoke-virtual {v4, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string v8, "0%"

    invoke-virtual {v4, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    invoke-virtual/range {v2 .. v7}, Lrexsee/core/progress/RexseeProgressCover;->showWithRunnable(ILjava/lang/String;ILjava/lang/Runnable;Ljava/lang/Runnable;)V

    .line 147
    :cond_0
    iget-object v2, p0, Lrexsee/core/browser/Browser;->progressListeners:Lrexsee/core/browser/clazz/LoadingProgressListeners;

    new-instance v3, Lrexsee/core/browser/Browser$3;

    invoke-direct {v3, p0, v5, v6, v7}, Lrexsee/core/browser/Browser$3;-><init>(Lrexsee/core/browser/Browser;ILjava/lang/Runnable;Ljava/lang/Runnable;)V

    invoke-virtual {v2, v3}, Lrexsee/core/browser/clazz/LoadingProgressListeners;->add(Lrexsee/core/browser/clazz/LoadingProgressListeners$LoadingProgressListener;)V

    .line 173
    iget-object v2, p0, Lrexsee/core/browser/Browser;->errorListeners:Lrexsee/core/browser/clazz/ErrorListeners;

    new-instance v3, Lrexsee/core/browser/Browser$4;

    invoke-direct {v3, p0}, Lrexsee/core/browser/Browser$4;-><init>(Lrexsee/core/browser/Browser;)V

    invoke-virtual {v2, v3}, Lrexsee/core/browser/clazz/ErrorListeners;->add(Lrexsee/core/browser/clazz/ErrorListeners$ErrorListener;)V

    .line 185
    iget-object v2, p0, Lrexsee/core/browser/Browser;->loadResourceListeners:Lrexsee/core/browser/clazz/LoadResourceListeners;

    new-instance v3, Lrexsee/core/browser/Browser$5;

    invoke-direct {v3, p0}, Lrexsee/core/browser/Browser$5;-><init>(Lrexsee/core/browser/Browser;)V

    invoke-virtual {v2, v3}, Lrexsee/core/browser/clazz/LoadResourceListeners;->add(Lrexsee/core/browser/clazz/LoadResourceListeners$LoadResourceListener;)V

    .line 197
    iget-object v2, p0, Lrexsee/core/browser/Browser;->eventList:Lrexsee/core/browser/clazz/EventList;

    const-string v3, "onException"

    invoke-virtual {v2, v3}, Lrexsee/core/browser/clazz/EventList;->add(Ljava/lang/String;)V

    .line 198
    iget-object v2, p0, Lrexsee/core/browser/Browser;->eventList:Lrexsee/core/browser/clazz/EventList;

    const-string v3, "onPause"

    invoke-virtual {v2, v3}, Lrexsee/core/browser/clazz/EventList;->add(Ljava/lang/String;)V

    .line 199
    iget-object v2, p0, Lrexsee/core/browser/Browser;->eventList:Lrexsee/core/browser/clazz/EventList;

    const-string v3, "onResume"

    invoke-virtual {v2, v3}, Lrexsee/core/browser/clazz/EventList;->add(Ljava/lang/String;)V

    .line 200
    iget-object v2, p0, Lrexsee/core/browser/Browser;->eventList:Lrexsee/core/browser/clazz/EventList;

    const-string v3, "onDestroy"

    invoke-virtual {v2, v3}, Lrexsee/core/browser/clazz/EventList;->add(Ljava/lang/String;)V

    .line 201
    iget-object v2, p0, Lrexsee/core/browser/Browser;->eventList:Lrexsee/core/browser/clazz/EventList;

    iget-object v3, p0, Lrexsee/core/browser/Browser;->EVENT_ONREXSEEREADY:Ljava/lang/String;

    invoke-virtual {v2, v3}, Lrexsee/core/browser/clazz/EventList;->add(Ljava/lang/String;)V

    .line 202
    iget-object v2, p0, Lrexsee/core/browser/Browser;->eventList:Lrexsee/core/browser/clazz/EventList;

    const-string v3, "onScreenOrientationChanged"

    invoke-virtual {v2, v3}, Lrexsee/core/browser/clazz/EventList;->add(Ljava/lang/String;)V

    .line 203
    iget-object v2, p0, Lrexsee/core/browser/Browser;->eventList:Lrexsee/core/browser/clazz/EventList;

    const-string v3, "onTouchDown"

    invoke-virtual {v2, v3}, Lrexsee/core/browser/clazz/EventList;->add(Ljava/lang/String;)V

    .line 204
    iget-object v2, p0, Lrexsee/core/browser/Browser;->eventList:Lrexsee/core/browser/clazz/EventList;

    const-string v3, "onTouchUp"

    invoke-virtual {v2, v3}, Lrexsee/core/browser/clazz/EventList;->add(Ljava/lang/String;)V

    .line 205
    iget-object v2, p0, Lrexsee/core/browser/Browser;->eventList:Lrexsee/core/browser/clazz/EventList;

    const-string v3, "onTouchMove"

    invoke-virtual {v2, v3}, Lrexsee/core/browser/clazz/EventList;->add(Ljava/lang/String;)V

    .line 206
    iget-object v2, p0, Lrexsee/core/browser/Browser;->eventList:Lrexsee/core/browser/clazz/EventList;

    const-string v3, "onTouchCancel"

    invoke-virtual {v2, v3}, Lrexsee/core/browser/clazz/EventList;->add(Ljava/lang/String;)V

    .line 207
    iget-object v2, p0, Lrexsee/core/browser/Browser;->eventList:Lrexsee/core/browser/clazz/EventList;

    const-string v3, "onDoubleClick"

    invoke-virtual {v2, v3}, Lrexsee/core/browser/clazz/EventList;->add(Ljava/lang/String;)V

    .line 208
    iget-object v2, p0, Lrexsee/core/browser/Browser;->eventList:Lrexsee/core/browser/clazz/EventList;

    const-string v3, "onLongPress"

    invoke-virtual {v2, v3}, Lrexsee/core/browser/clazz/EventList;->add(Ljava/lang/String;)V

    .line 209
    iget-object v2, p0, Lrexsee/core/browser/Browser;->eventList:Lrexsee/core/browser/clazz/EventList;

    const-string v3, "onFling"

    invoke-virtual {v2, v3}, Lrexsee/core/browser/clazz/EventList;->add(Ljava/lang/String;)V

    .line 211
    iget-object v2, p0, Lrexsee/core/browser/Browser;->eventList:Lrexsee/core/browser/clazz/EventList;

    const-string v3, "onAnimationStart"

    invoke-virtual {v2, v3}, Lrexsee/core/browser/clazz/EventList;->add(Ljava/lang/String;)V

    .line 212
    iget-object v2, p0, Lrexsee/core/browser/Browser;->eventList:Lrexsee/core/browser/clazz/EventList;

    const-string v3, "onAnimationRepeat"

    invoke-virtual {v2, v3}, Lrexsee/core/browser/clazz/EventList;->add(Ljava/lang/String;)V

    .line 213
    iget-object v2, p0, Lrexsee/core/browser/Browser;->eventList:Lrexsee/core/browser/clazz/EventList;

    const-string v3, "onAnimationEnd"

    invoke-virtual {v2, v3}, Lrexsee/core/browser/clazz/EventList;->add(Ljava/lang/String;)V

    .line 215
    iget-object v2, p0, Lrexsee/core/browser/Browser;->pauseListeners:Lrexsee/core/browser/clazz/PauseListeners;

    new-instance v3, Lrexsee/core/browser/Browser$6;

    invoke-direct {v3, p0}, Lrexsee/core/browser/Browser$6;-><init>(Lrexsee/core/browser/Browser;)V

    invoke-virtual {v2, v3}, Lrexsee/core/browser/clazz/PauseListeners;->add(Ljava/lang/Runnable;)V

    .line 221
    iget-object v2, p0, Lrexsee/core/browser/Browser;->resumeListeners:Lrexsee/core/browser/clazz/ResumeListeners;

    new-instance v3, Lrexsee/core/browser/Browser$7;

    invoke-direct {v3, p0}, Lrexsee/core/browser/Browser$7;-><init>(Lrexsee/core/browser/Browser;)V

    invoke-virtual {v2, v3}, Lrexsee/core/browser/clazz/ResumeListeners;->add(Ljava/lang/Runnable;)V

    .line 227
    iget-object v2, p0, Lrexsee/core/browser/Browser;->destroyListeners:Lrexsee/core/browser/clazz/DestroyListeners;

    new-instance v3, Lrexsee/core/browser/Browser$8;

    invoke-direct {v3, p0}, Lrexsee/core/browser/Browser$8;-><init>(Lrexsee/core/browser/Browser;)V

    invoke-virtual {v2, v3}, Lrexsee/core/browser/clazz/DestroyListeners;->add(Ljava/lang/Runnable;)V

    .line 234
    iget-object v2, p0, Lrexsee/core/browser/Browser;->domainWhiteList:Lrexsee/core/browser/clazz/DomainWhiteList;

    invoke-virtual {v2}, Lrexsee/core/browser/clazz/DomainWhiteList;->inherit()V

    .line 235
    iget-object v2, p0, Lrexsee/core/browser/Browser;->interfaceList:Lrexsee/core/browser/clazz/JavascriptInterfaceList;

    invoke-virtual {v2}, Lrexsee/core/browser/clazz/JavascriptInterfaceList;->inherit()V

    .line 237
    invoke-virtual {p0}, Lrexsee/core/browser/Browser;->getSettings()Landroid/webkit/WebSettings;

    move-result-object v13

    .line 238
    .local v13, "websettings":Landroid/webkit/WebSettings;
    const/4 v2, 0x1

    invoke-virtual {v13, v2}, Landroid/webkit/WebSettings;->setJavaScriptEnabled(Z)V

    .line 240
    const/4 v2, 0x0

    invoke-virtual {v13, v2}, Landroid/webkit/WebSettings;->setJavaScriptCanOpenWindowsAutomatically(Z)V

    .line 241
    const/4 v2, 0x0

    invoke-virtual {v13, v2}, Landroid/webkit/WebSettings;->setSupportMultipleWindows(Z)V

    .line 243
    const/4 v2, 0x1

    invoke-virtual {v13, v2}, Landroid/webkit/WebSettings;->setAllowFileAccess(Z)V

    .line 244
    const/4 v2, 0x1

    invoke-virtual {v13, v2}, Landroid/webkit/WebSettings;->setDomStorageEnabled(Z)V

    .line 246
    const/4 v2, 0x1

    invoke-virtual {v13, v2}, Landroid/webkit/WebSettings;->setDatabaseEnabled(Z)V

    .line 247
    invoke-virtual {p0}, Lrexsee/core/browser/Browser;->getContext()Landroid/content/Context;

    move-result-object v2

    const-string v3, "database"

    const/4 v4, 0x0

    invoke-virtual {v2, v3, v4}, Landroid/content/Context;->getDir(Ljava/lang/String;I)Ljava/io/File;

    move-result-object v2

    invoke-virtual {v2}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v13, v2}, Landroid/webkit/WebSettings;->setDatabasePath(Ljava/lang/String;)V

    .line 248
    invoke-static {}, Landroid/webkit/WebIconDatabase;->getInstance()Landroid/webkit/WebIconDatabase;

    move-result-object v2

    invoke-virtual {p0}, Lrexsee/core/browser/Browser;->getContext()Landroid/content/Context;

    move-result-object v3

    const-string v4, "icons"

    const/4 v5, 0x0

    invoke-virtual {v3, v4, v5}, Landroid/content/Context;->getDir(Ljava/lang/String;I)Ljava/io/File;

    .end local v5    # "timeout":I
    move-result-object v3

    invoke-virtual {v3}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Landroid/webkit/WebIconDatabase;->open(Ljava/lang/String;)V

    .line 250
    const-wide/32 v2, 0x800000

    invoke-virtual {v13, v2, v3}, Landroid/webkit/WebSettings;->setAppCacheMaxSize(J)V

    .line 251
    invoke-virtual {p0}, Lrexsee/core/browser/Browser;->getContext()Landroid/content/Context;

    move-result-object v2

    const-string v3, "cache"

    const/4 v4, 0x0

    invoke-virtual {v2, v3, v4}, Landroid/content/Context;->getDir(Ljava/lang/String;I)Ljava/io/File;

    move-result-object v2

    invoke-virtual {v2}, Ljava/io/File;->getPath()Ljava/lang/String;

    move-result-object v10

    .line 252
    .local v10, "cachePath":Ljava/lang/String;
    invoke-virtual {v13, v10}, Landroid/webkit/WebSettings;->setAppCachePath(Ljava/lang/String;)V

    .line 253
    const/4 v2, 0x1

    invoke-virtual {v13, v2}, Landroid/webkit/WebSettings;->setAppCacheEnabled(Z)V

    .line 254
    const/4 v2, -0x1

    invoke-virtual {v13, v2}, Landroid/webkit/WebSettings;->setCacheMode(I)V

    .line 258
    :try_start_0
    const-class v2, Landroid/webkit/WebSettings;

    const-string v3, "PluginState"

    invoke-static {v2, v3}, Lrexsee/core/utilities/RexseeClazz;->getClass(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Class;

    move-result-object v12

    .line 259
    .local v12, "pluginState":Ljava/lang/Class;, "Ljava/lang/Class<*>;"
    if-eqz v12, :cond_1

    .line 260
    const-string v2, "ON"

    invoke-static {v12, v2}, Lrexsee/core/utilities/RexseeClazz;->getEnum(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v8

    .line 261
    .local v8, "ON":Ljava/lang/Object;
    if-eqz v8, :cond_1

    .line 262
    const-class v2, Landroid/webkit/WebSettings;

    const-string v3, "setPluginState"

    invoke-static {v2, v3}, Lrexsee/core/utilities/RexseeClazz;->getMethod(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/reflect/Method;

    move-result-object v11

    .line 263
    .local v11, "method":Ljava/lang/reflect/Method;
    if-eqz v11, :cond_1

    .line 264
    const/4 v2, 0x1

    new-array v2, v2, [Ljava/lang/Object;

    const/4 v3, 0x0

    aput-object v8, v2, v3

    invoke-virtual {v11, v13, v2}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 273
    .end local v8    # "ON":Ljava/lang/Object;
    .end local v11    # "method":Ljava/lang/reflect/Method;
    .end local v12    # "pluginState":Ljava/lang/Class;, "Ljava/lang/Class<*>;"
    :cond_1
    :goto_0
    iget-object v2, p0, Lrexsee/core/browser/Browser;->parentBrowser:Lrexsee/core/browser/Browser;

    if-eqz v2, :cond_2

    iget-object v2, p0, Lrexsee/core/browser/Browser;->parentBrowser:Lrexsee/core/browser/Browser;

    invoke-virtual {v2}, Lrexsee/core/browser/Browser;->getSettings()Landroid/webkit/WebSettings;

    move-result-object v2

    invoke-virtual {v2}, Landroid/webkit/WebSettings;->getUserAgentString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v13, v2}, Landroid/webkit/WebSettings;->setUserAgentString(Ljava/lang/String;)V

    .line 275
    :cond_2
    invoke-static {}, Landroid/webkit/WebView;->enablePlatformNotifications()V

    .line 277
    iget-object v2, p0, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    invoke-virtual {v2}, Lrexsee/core/application/RexseeApplication;->getAutoClearCache()Z

    move-result v2

    if-eqz v2, :cond_3

    const/4 v2, 0x1

    invoke-virtual {p0, v2}, Lrexsee/core/browser/Browser;->clearCache(Z)V

    .line 278
    :cond_3
    const/4 v2, 0x1

    invoke-virtual {p0, v2}, Lrexsee/core/browser/Browser;->setFocusable(Z)V

    .line 279
    const/4 v2, 0x1

    invoke-virtual {p0, v2}, Lrexsee/core/browser/Browser;->setFocusableInTouchMode(Z)V

    .line 280
    const/4 v2, 0x1

    invoke-virtual {p0, v2}, Lrexsee/core/browser/Browser;->setLongClickable(Z)V

    .line 282
    invoke-virtual {p0}, Lrexsee/core/browser/Browser;->setDefaultTouchListener()V

    .line 284
    new-instance v2, Lrexsee/core/browser/Browser$9;

    invoke-direct {v2, p0}, Lrexsee/core/browser/Browser$9;-><init>(Lrexsee/core/browser/Browser;)V

    invoke-virtual {p0, v2}, Lrexsee/core/browser/Browser;->setPictureListener(Landroid/webkit/WebView$PictureListener;)V

    .line 289
    new-instance v2, Lrexsee/core/browser/Browser$10;

    invoke-direct {v2, p0}, Lrexsee/core/browser/Browser$10;-><init>(Lrexsee/core/browser/Browser;)V

    invoke-virtual {p0, v2}, Lrexsee/core/browser/Browser;->setDownloadListener(Landroid/webkit/DownloadListener;)V

    .line 295
    new-instance v2, Lrexsee/core/browser/clazz/BrowserClient;

    invoke-direct {v2, p0}, Lrexsee/core/browser/clazz/BrowserClient;-><init>(Lrexsee/core/browser/Browser;)V

    invoke-virtual {p0, v2}, Lrexsee/core/browser/Browser;->setWebViewClient(Landroid/webkit/WebViewClient;)V

    .line 296
    new-instance v2, Lrexsee/core/browser/clazz/BrowserChromeClient;

    invoke-direct {v2, p0}, Lrexsee/core/browser/clazz/BrowserChromeClient;-><init>(Lrexsee/core/browser/Browser;)V

    invoke-virtual {p0, v2}, Lrexsee/core/browser/Browser;->setWebChromeClient(Landroid/webkit/WebChromeClient;)V

    .line 298
    iget-object v2, p0, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    iget-object v2, v2, Lrexsee/core/application/RexseeApplication;->resources:Lrexsee/core/application/Resource;

    iget-object v2, v2, Lrexsee/core/application/Resource;->browserBackgroundColor:Ljava/lang/String;

    invoke-static {v2}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v2

    invoke-virtual {p0, v2}, Lrexsee/core/browser/Browser;->setBackgroundColor(I)V

    .line 299
    iget-object v2, p0, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    iget-object v2, v2, Lrexsee/core/application/RexseeApplication;->resources:Lrexsee/core/application/Resource;

    iget-boolean v2, v2, Lrexsee/core/application/Resource;->browserProgressDialog:Z

    if-eqz v2, :cond_5

    const-string v2, "visible"

    move-object v9, v2

    .line 300
    .local v9, "browserProgressDialogVisibility":Ljava/lang/String;
    :goto_1
    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "scrollbar-y:auto;browser-progress-dialog:"

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v2, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, ";"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {p0, v2}, Lrexsee/core/browser/Browser;->setStyle(Ljava/lang/String;)V

    .line 302
    iget-object v2, p0, Lrexsee/core/browser/Browser;->garbageCollector:Lrexsee/core/browser/RexseeGarbageCollector;

    invoke-virtual {v2}, Lrexsee/core/browser/RexseeGarbageCollector;->startAutoCollector()V

    .line 303
    iget-object v2, p0, Lrexsee/core/browser/Browser;->parentBrowser:Lrexsee/core/browser/Browser;

    if-eqz v2, :cond_4

    .line 304
    iget-object v2, p0, Lrexsee/core/browser/Browser;->parentBrowser:Lrexsee/core/browser/Browser;

    iget-object v2, v2, Lrexsee/core/browser/Browser;->windowListener:Lrexsee/core/browser/clazz/WindowCreateCloseListener;

    invoke-virtual {p0, v2}, Lrexsee/core/browser/Browser;->setWindowCreateCloseListener(Lrexsee/core/browser/clazz/WindowCreateCloseListener;)V

    .line 307
    :cond_4
    return-void

    .line 299
    .end local v9    # "browserProgressDialogVisibility":Ljava/lang/String;
    :cond_5
    const-string v2, "hidden"

    move-object v9, v2

    goto :goto_1

    .line 271
    :catch_0
    move-exception v2

    goto/16 :goto_0
.end method


# virtual methods
.method public exception(Ljava/lang/String;Ljava/lang/Exception;)V
    .locals 2
    .param p1, "interfaceName"    # Ljava/lang/String;
    .param p2, "e"    # Ljava/lang/Exception;

    .prologue
    .line 476
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-virtual {p2}, Ljava/lang/Exception;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v1, "/"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {p2}, Ljava/lang/Exception;->getLocalizedMessage()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, p1, v0}, Lrexsee/core/browser/Browser;->exception(Ljava/lang/String;Ljava/lang/String;)V

    .line 477
    return-void
.end method

.method public exception(Ljava/lang/String;Ljava/lang/String;)V
    .locals 5
    .param p1, "interfaceName"    # Ljava/lang/String;
    .param p2, "message"    # Ljava/lang/String;

    .prologue
    .line 479
    iget-object v0, p0, Lrexsee/core/browser/Browser;->eventList:Lrexsee/core/browser/clazz/EventList;

    const-string v1, "onException"

    const/4 v2, 0x2

    new-array v2, v2, [Ljava/lang/String;

    const/4 v3, 0x0

    aput-object p1, v2, v3

    const/4 v3, 0x1

    invoke-static {p2}, Lrexsee/core/utilities/Escape;->escape(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    aput-object v4, v2, v3

    invoke-virtual {v0, v1, v2}, Lrexsee/core/browser/clazz/EventList;->run(Ljava/lang/String;[Ljava/lang/String;)V

    .line 480
    return-void
.end method

.method public getSolidColor()I
    .locals 1

    .prologue
    .line 427
    iget-object v0, p0, Lrexsee/core/browser/Browser;->styleSheet:Lrexsee/core/style/StyleSheet;

    iget-object v0, v0, Lrexsee/core/style/StyleSheet;->fading_edge_y_color:Ljava/lang/String;

    invoke-static {v0}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v0

    return v0
.end method

.method public onKeyDown(ILandroid/view/KeyEvent;)Z
    .locals 4
    .param p1, "keyCode"    # I
    .param p2, "event"    # Landroid/view/KeyEvent;

    .prologue
    const/4 v3, 0x1

    const/4 v1, 0x0

    .line 318
    const/4 v0, 0x4

    if-ne p1, v0, :cond_2

    .line 319
    iget-object v0, p0, Lrexsee/core/browser/Browser;->specialKeyListener:Lrexsee/core/browser/clazz/SpecialKeyListener;

    iget-boolean v0, v0, Lrexsee/core/browser/clazz/SpecialKeyListener;->backEnabled:Z

    if-eqz v0, :cond_1

    .line 320
    iget-object v0, p0, Lrexsee/core/browser/Browser;->specialKeyListener:Lrexsee/core/browser/clazz/SpecialKeyListener;

    iget-object v0, v0, Lrexsee/core/browser/clazz/SpecialKeyListener;->back_DownRunnable:Ljava/lang/Runnable;

    if-eqz v0, :cond_0

    .line 321
    iget-object v0, p0, Lrexsee/core/browser/Browser;->specialKeyListener:Lrexsee/core/browser/clazz/SpecialKeyListener;

    iget-object v0, v0, Lrexsee/core/browser/clazz/SpecialKeyListener;->back_DownRunnable:Ljava/lang/Runnable;

    invoke-interface {v0}, Ljava/lang/Runnable;->run()V

    :goto_0
    move v0, v3

    .line 373
    :goto_1
    return v0

    .line 323
    :cond_0
    iget-object v0, p0, Lrexsee/core/browser/Browser;->function:Lrexsee/core/browser/RexseeBrowser;

    invoke-virtual {v0}, Lrexsee/core/browser/RexseeBrowser;->goBack()V

    goto :goto_0

    :cond_1
    move v0, v1

    .line 326
    goto :goto_1

    .line 327
    :cond_2
    const/16 v0, 0x52

    if-ne p1, v0, :cond_5

    .line 328
    iget-object v0, p0, Lrexsee/core/browser/Browser;->specialKeyListener:Lrexsee/core/browser/clazz/SpecialKeyListener;

    iget-boolean v0, v0, Lrexsee/core/browser/clazz/SpecialKeyListener;->menuEnabled:Z

    if-eqz v0, :cond_4

    .line 329
    iget-object v0, p0, Lrexsee/core/browser/Browser;->specialKeyListener:Lrexsee/core/browser/clazz/SpecialKeyListener;

    iget-object v0, v0, Lrexsee/core/browser/clazz/SpecialKeyListener;->menu_DownRunnable:Ljava/lang/Runnable;

    if-eqz v0, :cond_3

    .line 330
    iget-object v0, p0, Lrexsee/core/browser/Browser;->specialKeyListener:Lrexsee/core/browser/clazz/SpecialKeyListener;

    iget-object v0, v0, Lrexsee/core/browser/clazz/SpecialKeyListener;->menu_DownRunnable:Ljava/lang/Runnable;

    invoke-interface {v0}, Ljava/lang/Runnable;->run()V

    :goto_2
    move v0, v3

    .line 334
    goto :goto_1

    .line 332
    :cond_3
    iget-object v0, p0, Lrexsee/core/browser/Browser;->menu:Lrexsee/core/menu/RexseeMenu;

    invoke-virtual {v0}, Lrexsee/core/menu/RexseeMenu;->openOptionsMenu()V

    goto :goto_2

    :cond_4
    move v0, v1

    .line 335
    goto :goto_1

    .line 336
    :cond_5
    const/16 v0, 0x54

    if-ne p1, v0, :cond_8

    .line 337
    iget-object v0, p0, Lrexsee/core/browser/Browser;->specialKeyListener:Lrexsee/core/browser/clazz/SpecialKeyListener;

    iget-boolean v0, v0, Lrexsee/core/browser/clazz/SpecialKeyListener;->searchEnabled:Z

    if-eqz v0, :cond_7

    .line 338
    iget-object v0, p0, Lrexsee/core/browser/Browser;->specialKeyListener:Lrexsee/core/browser/clazz/SpecialKeyListener;

    iget-object v0, v0, Lrexsee/core/browser/clazz/SpecialKeyListener;->search_DownRunnable:Ljava/lang/Runnable;

    if-eqz v0, :cond_6

    .line 339
    iget-object v0, p0, Lrexsee/core/browser/Browser;->specialKeyListener:Lrexsee/core/browser/clazz/SpecialKeyListener;

    iget-object v0, v0, Lrexsee/core/browser/clazz/SpecialKeyListener;->search_DownRunnable:Ljava/lang/Runnable;

    invoke-interface {v0}, Ljava/lang/Runnable;->run()V

    :goto_3
    move v0, v3

    .line 343
    goto :goto_1

    .line 341
    :cond_6
    iget-object v0, p0, Lrexsee/core/browser/Browser;->function:Lrexsee/core/browser/RexseeBrowser;

    new-instance v1, Ljava/lang/StringBuilder;

    iget-object v2, p0, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    iget-object v2, v2, Lrexsee/core/application/RexseeApplication;->resources:Lrexsee/core/application/Resource;

    iget-object v2, v2, Lrexsee/core/application/Resource;->prefix:Ljava/lang/String;

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, ":menu"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lrexsee/core/browser/RexseeBrowser;->go(Ljava/lang/String;)V

    goto :goto_3

    :cond_7
    move v0, v1

    .line 344
    goto :goto_1

    .line 345
    :cond_8
    const/16 v0, 0x50

    if-ne p1, v0, :cond_b

    .line 346
    iget-object v0, p0, Lrexsee/core/browser/Browser;->specialKeyListener:Lrexsee/core/browser/clazz/SpecialKeyListener;

    iget-boolean v0, v0, Lrexsee/core/browser/clazz/SpecialKeyListener;->focusEnabled:Z

    if-eqz v0, :cond_a

    .line 347
    iget-object v0, p0, Lrexsee/core/browser/Browser;->specialKeyListener:Lrexsee/core/browser/clazz/SpecialKeyListener;

    iget-object v0, v0, Lrexsee/core/browser/clazz/SpecialKeyListener;->focus_DownRunnable:Ljava/lang/Runnable;

    if-eqz v0, :cond_9

    .line 348
    iget-object v0, p0, Lrexsee/core/browser/Browser;->specialKeyListener:Lrexsee/core/browser/clazz/SpecialKeyListener;

    iget-object v0, v0, Lrexsee/core/browser/clazz/SpecialKeyListener;->focus_DownRunnable:Ljava/lang/Runnable;

    invoke-interface {v0}, Ljava/lang/Runnable;->run()V

    :goto_4
    move v0, v3

    .line 352
    goto :goto_1

    .line 350
    :cond_9
    iget-object v0, p0, Lrexsee/core/browser/Browser;->function:Lrexsee/core/browser/RexseeBrowser;

    new-instance v1, Ljava/lang/StringBuilder;

    iget-object v2, p0, Lrexsee/core/browser/Browser;->application:Lrexsee/core/application/RexseeApplication;

    iget-object v2, v2, Lrexsee/core/application/RexseeApplication;->resources:Lrexsee/core/application/Resource;

    iget-object v2, v2, Lrexsee/core/application/Resource;->prefix:Ljava/lang/String;

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v2, ":history"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lrexsee/core/browser/RexseeBrowser;->go(Ljava/lang/String;)V

    goto :goto_4

    :cond_a
    move v0, v1

    .line 353
    goto/16 :goto_1

    .line 354
    :cond_b
    const/16 v0, 0x18

    if-ne p1, v0, :cond_e

    .line 355
    iget-object v0, p0, Lrexsee/core/browser/Browser;->specialKeyListener:Lrexsee/core/browser/clazz/SpecialKeyListener;

    iget-boolean v0, v0, Lrexsee/core/browser/clazz/SpecialKeyListener;->volumeEnabled:Z

    if-eqz v0, :cond_d

    .line 356
    iget-object v0, p0, Lrexsee/core/browser/Browser;->specialKeyListener:Lrexsee/core/browser/clazz/SpecialKeyListener;

    iget-object v0, v0, Lrexsee/core/browser/clazz/SpecialKeyListener;->volumeUp_DownRunnable:Ljava/lang/Runnable;

    if-eqz v0, :cond_c

    .line 357
    iget-object v0, p0, Lrexsee/core/browser/Browser;->specialKeyListener:Lrexsee/core/browser/clazz/SpecialKeyListener;

    iget-object v0, v0, Lrexsee/core/browser/clazz/SpecialKeyListener;->volumeUp_DownRunnable:Ljava/lang/Runnable;

    invoke-interface {v0}, Ljava/lang/Runnable;->run()V

    :goto_5
    move v0, v3

    .line 361
    goto/16 :goto_1

    .line 359
    :cond_c
    iget-object v0, p0, Lrexsee/core/browser/Browser;->function:Lrexsee/core/browser/RexseeBrowser;

    invoke-virtual {v0}, Lrexsee/core/browser/RexseeBrowser;->zoomIn()V

    goto :goto_5

    :cond_d
    move v0, v1

    .line 362
    goto/16 :goto_1

    .line 363
    :cond_e
    const/16 v0, 0x19

    if-ne p1, v0, :cond_11

    .line 364
    iget-object v0, p0, Lrexsee/core/browser/Browser;->specialKeyListener:Lrexsee/core/browser/clazz/SpecialKeyListener;

    iget-boolean v0, v0, Lrexsee/core/browser/clazz/SpecialKeyListener;->volumeEnabled:Z

    if-eqz v0, :cond_10

    .line 365
    iget-object v0, p0, Lrexsee/core/browser/Browser;->specialKeyListener:Lrexsee/core/browser/clazz/SpecialKeyListener;

    iget-object v0, v0, Lrexsee/core/browser/clazz/SpecialKeyListener;->volumeDown_DownRunnable:Ljava/lang/Runnable;

    if-eqz v0, :cond_f

    .line 366
    iget-object v0, p0, Lrexsee/core/browser/Browser;->specialKeyListener:Lrexsee/core/browser/clazz/SpecialKeyListener;

    iget-object v0, v0, Lrexsee/core/browser/clazz/SpecialKeyListener;->volumeDown_DownRunnable:Ljava/lang/Runnable;

    invoke-interface {v0}, Ljava/lang/Runnable;->run()V

    :goto_6
    move v0, v3

    .line 370
    goto/16 :goto_1

    .line 368
    :cond_f
    iget-object v0, p0, Lrexsee/core/browser/Browser;->function:Lrexsee/core/browser/RexseeBrowser;

    invoke-virtual {v0}, Lrexsee/core/browser/RexseeBrowser;->zoomOut()V

    goto :goto_6

    :cond_10
    move v0, v1

    .line 371
    goto/16 :goto_1

    .line 373
    :cond_11
    invoke-super {p0, p1, p2}, Landroid/webkit/WebView;->onKeyDown(ILandroid/view/KeyEvent;)Z

    move-result v0

    goto/16 :goto_1
.end method

.method public onKeyUp(ILandroid/view/KeyEvent;)Z
    .locals 3
    .param p1, "keyCode"    # I
    .param p2, "event"    # Landroid/view/KeyEvent;

    .prologue
    const/4 v2, 0x1

    const/4 v1, 0x0

    .line 378
    const/4 v0, 0x4

    if-ne p1, v0, :cond_2

    .line 379
    iget-object v0, p0, Lrexsee/core/browser/Browser;->specialKeyListener:Lrexsee/core/browser/clazz/SpecialKeyListener;

    iget-boolean v0, v0, Lrexsee/core/browser/clazz/SpecialKeyListener;->backEnabled:Z

    if-eqz v0, :cond_1

    .line 380
    iget-object v0, p0, Lrexsee/core/browser/Browser;->specialKeyListener:Lrexsee/core/browser/clazz/SpecialKeyListener;

    iget-object v0, v0, Lrexsee/core/browser/clazz/SpecialKeyListener;->back_UpRunnable:Ljava/lang/Runnable;

    if-eqz v0, :cond_0

    .line 381
    iget-object v0, p0, Lrexsee/core/browser/Browser;->specialKeyListener:Lrexsee/core/browser/clazz/SpecialKeyListener;

    iget-object v0, v0, Lrexsee/core/browser/clazz/SpecialKeyListener;->back_UpRunnable:Ljava/lang/Runnable;

    invoke-interface {v0}, Ljava/lang/Runnable;->run()V

    :cond_0
    move v0, v2

    .line 421
    :goto_0
    return v0

    :cond_1
    move v0, v1

    .line 384
    goto :goto_0

    .line 385
    :cond_2
    const/16 v0, 0x52

    if-ne p1, v0, :cond_5

    .line 386
    iget-object v0, p0, Lrexsee/core/browser/Browser;->specialKeyListener:Lrexsee/core/browser/clazz/SpecialKeyListener;

    iget-boolean v0, v0, Lrexsee/core/browser/clazz/SpecialKeyListener;->menuEnabled:Z

    if-eqz v0, :cond_4

    .line 387
    iget-object v0, p0, Lrexsee/core/browser/Browser;->specialKeyListener:Lrexsee/core/browser/clazz/SpecialKeyListener;

    iget-object v0, v0, Lrexsee/core/browser/clazz/SpecialKeyListener;->menu_UpRunnable:Ljava/lang/Runnable;

    if-eqz v0, :cond_3

    .line 388
    iget-object v0, p0, Lrexsee/core/browser/Browser;->specialKeyListener:Lrexsee/core/browser/clazz/SpecialKeyListener;

    iget-object v0, v0, Lrexsee/core/browser/clazz/SpecialKeyListener;->menu_UpRunnable:Ljava/lang/Runnable;

    invoke-interface {v0}, Ljava/lang/Runnable;->run()V

    :cond_3
    move v0, v2

    .line 390
    goto :goto_0

    :cond_4
    move v0, v1

    .line 391
    goto :goto_0

    .line 392
    :cond_5
    const/16 v0, 0x54

    if-ne p1, v0, :cond_8

    .line 393
    iget-object v0, p0, Lrexsee/core/browser/Browser;->specialKeyListener:Lrexsee/core/browser/clazz/SpecialKeyListener;

    iget-boolean v0, v0, Lrexsee/core/browser/clazz/SpecialKeyListener;->searchEnabled:Z

    if-eqz v0, :cond_7

    .line 394
    iget-object v0, p0, Lrexsee/core/browser/Browser;->specialKeyListener:Lrexsee/core/browser/clazz/SpecialKeyListener;

    iget-object v0, v0, Lrexsee/core/browser/clazz/SpecialKeyListener;->search_UpRunnable:Ljava/lang/Runnable;

    if-eqz v0, :cond_6

    .line 395
    iget-object v0, p0, Lrexsee/core/browser/Browser;->specialKeyListener:Lrexsee/core/browser/clazz/SpecialKeyListener;

    iget-object v0, v0, Lrexsee/core/browser/clazz/SpecialKeyListener;->search_UpRunnable:Ljava/lang/Runnable;

    invoke-interface {v0}, Ljava/lang/Runnable;->run()V

    :cond_6
    move v0, v2

    .line 397
    goto :goto_0

    :cond_7
    move v0, v1

    .line 398
    goto :goto_0

    .line 399
    :cond_8
    const/16 v0, 0x50

    if-ne p1, v0, :cond_b

    .line 400
    iget-object v0, p0, Lrexsee/core/browser/Browser;->specialKeyListener:Lrexsee/core/browser/clazz/SpecialKeyListener;

    iget-boolean v0, v0, Lrexsee/core/browser/clazz/SpecialKeyListener;->focusEnabled:Z

    if-eqz v0, :cond_a

    .line 401
    iget-object v0, p0, Lrexsee/core/browser/Browser;->specialKeyListener:Lrexsee/core/browser/clazz/SpecialKeyListener;

    iget-object v0, v0, Lrexsee/core/browser/clazz/SpecialKeyListener;->focus_UpRunnable:Ljava/lang/Runnable;

    if-eqz v0, :cond_9

    .line 402
    iget-object v0, p0, Lrexsee/core/browser/Browser;->specialKeyListener:Lrexsee/core/browser/clazz/SpecialKeyListener;

    iget-object v0, v0, Lrexsee/core/browser/clazz/SpecialKeyListener;->focus_UpRunnable:Ljava/lang/Runnable;

    invoke-interface {v0}, Ljava/lang/Runnable;->run()V

    :cond_9
    move v0, v2

    .line 404
    goto :goto_0

    :cond_a
    move v0, v1

    .line 405
    goto :goto_0

    .line 406
    :cond_b
    const/16 v0, 0x18

    if-ne p1, v0, :cond_e

    .line 407
    iget-object v0, p0, Lrexsee/core/browser/Browser;->specialKeyListener:Lrexsee/core/browser/clazz/SpecialKeyListener;

    iget-boolean v0, v0, Lrexsee/core/browser/clazz/SpecialKeyListener;->volumeEnabled:Z

    if-eqz v0, :cond_d

    .line 408
    iget-object v0, p0, Lrexsee/core/browser/Browser;->specialKeyListener:Lrexsee/core/browser/clazz/SpecialKeyListener;

    iget-object v0, v0, Lrexsee/core/browser/clazz/SpecialKeyListener;->volumeUp_UpRunnable:Ljava/lang/Runnable;

    if-eqz v0, :cond_c

    .line 409
    iget-object v0, p0, Lrexsee/core/browser/Browser;->specialKeyListener:Lrexsee/core/browser/clazz/SpecialKeyListener;

    iget-object v0, v0, Lrexsee/core/browser/clazz/SpecialKeyListener;->volumeUp_UpRunnable:Ljava/lang/Runnable;

    invoke-interface {v0}, Ljava/lang/Runnable;->run()V

    :cond_c
    move v0, v2

    .line 411
    goto :goto_0

    :cond_d
    move v0, v1

    .line 412
    goto :goto_0

    .line 413
    :cond_e
    const/16 v0, 0x19

    if-ne p1, v0, :cond_11

    .line 414
    iget-object v0, p0, Lrexsee/core/browser/Browser;->specialKeyListener:Lrexsee/core/browser/clazz/SpecialKeyListener;

    iget-boolean v0, v0, Lrexsee/core/browser/clazz/SpecialKeyListener;->volumeEnabled:Z

    if-eqz v0, :cond_10

    .line 415
    iget-object v0, p0, Lrexsee/core/browser/Browser;->specialKeyListener:Lrexsee/core/browser/clazz/SpecialKeyListener;

    iget-object v0, v0, Lrexsee/core/browser/clazz/SpecialKeyListener;->volumeDown_UpRunnable:Ljava/lang/Runnable;

    if-eqz v0, :cond_f

    .line 416
    iget-object v0, p0, Lrexsee/core/browser/Browser;->specialKeyListener:Lrexsee/core/browser/clazz/SpecialKeyListener;

    iget-object v0, v0, Lrexsee/core/browser/clazz/SpecialKeyListener;->volumeDown_UpRunnable:Ljava/lang/Runnable;

    invoke-interface {v0}, Ljava/lang/Runnable;->run()V

    :cond_f
    move v0, v2

    .line 418
    goto/16 :goto_0

    :cond_10
    move v0, v1

    .line 419
    goto/16 :goto_0

    .line 421
    :cond_11
    invoke-super {p0, p1, p2}, Landroid/webkit/WebView;->onKeyUp(ILandroid/view/KeyEvent;)Z

    move-result v0

    goto/16 :goto_0
.end method

.method public setDefaultTouchListener()V
    .locals 3

    .prologue
    .line 310
    new-instance v0, Lrexsee/core/browser/clazz/TouchListener;

    new-instance v1, Landroid/view/GestureDetector;

    new-instance v2, Lrexsee/core/browser/clazz/GestureListener;

    invoke-direct {v2, p0}, Lrexsee/core/browser/clazz/GestureListener;-><init>(Lrexsee/core/browser/Browser;)V

    invoke-direct {v1, v2}, Landroid/view/GestureDetector;-><init>(Landroid/view/GestureDetector$OnGestureListener;)V

    invoke-direct {v0, p0, v1}, Lrexsee/core/browser/clazz/TouchListener;-><init>(Lrexsee/core/browser/Browser;Landroid/view/GestureDetector;)V

    invoke-virtual {p0, v0}, Lrexsee/core/browser/Browser;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    .line 311
    return-void
.end method

.method public setParentDialog(Lrexsee/core/browser/clazz/BrowserParent;)V
    .locals 0
    .param p1, "theParentDialog"    # Lrexsee/core/browser/clazz/BrowserParent;

    .prologue
    .line 460
    iput-object p1, p0, Lrexsee/core/browser/Browser;->parentDialog:Lrexsee/core/browser/clazz/BrowserParent;

    .line 461
    return-void
.end method

.method public setStyle(Ljava/lang/String;)V
    .locals 8
    .param p1, "style"    # Ljava/lang/String;

    .prologue
    const/4 v6, 0x0

    const/4 v5, 0x1

    const-string v7, "visible"

    .line 432
    iget-object v2, p0, Lrexsee/core/browser/Browser;->styleSheet:Lrexsee/core/style/StyleSheet;

    invoke-virtual {v2, p1}, Lrexsee/core/style/StyleSheet;->parseStyle(Ljava/lang/String;)Lrexsee/core/style/StyleSheet;

    .line 433
    iget-object v2, p0, Lrexsee/core/browser/Browser;->styleSheet:Lrexsee/core/style/StyleSheet;

    iget-object v2, v2, Lrexsee/core/style/StyleSheet;->browser_zoom_button:Ljava/lang/String;

    const-string v3, "visible"

    invoke-virtual {v2, v7}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_1

    .line 434
    invoke-virtual {p0}, Lrexsee/core/browser/Browser;->getSettings()Landroid/webkit/WebSettings;

    move-result-object v2

    invoke-virtual {v2, v5}, Landroid/webkit/WebSettings;->setBuiltInZoomControls(Z)V

    .line 435
    invoke-virtual {p0}, Lrexsee/core/browser/Browser;->invokeZoomPicker()V

    .line 439
    :goto_0
    iget-object v2, p0, Lrexsee/core/browser/Browser;->styleSheet:Lrexsee/core/style/StyleSheet;

    iget-object v2, v2, Lrexsee/core/style/StyleSheet;->background_color:Ljava/lang/String;

    invoke-static {p0, v2}, Lrexsee/core/style/RexseeDrawable;->getDrawable(Lrexsee/core/browser/Browser;Ljava/lang/String;)Landroid/graphics/drawable/Drawable;

    move-result-object v2

    invoke-virtual {p0, v2}, Lrexsee/core/browser/Browser;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 440
    iget-object v2, p0, Lrexsee/core/browser/Browser;->styleSheet:Lrexsee/core/style/StyleSheet;

    iget-object v2, v2, Lrexsee/core/style/StyleSheet;->background_color:Ljava/lang/String;

    const-string v3, "transparent"

    invoke-virtual {v2, v3}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_0

    invoke-virtual {p0, v6}, Lrexsee/core/browser/Browser;->setBackgroundColor(I)V

    .line 442
    :cond_0
    iget-object v2, p0, Lrexsee/core/browser/Browser;->styleSheet:Lrexsee/core/style/StyleSheet;

    iget-object v0, v2, Lrexsee/core/style/StyleSheet;->fading_edge_y_length:Ljava/lang/String;

    .line 443
    .local v0, "fadingEdgeLength":Ljava/lang/String;
    invoke-virtual {p0, v5}, Lrexsee/core/browser/Browser;->setHorizontalFadingEdgeEnabled(Z)V

    .line 444
    invoke-virtual {p0, v5}, Lrexsee/core/browser/Browser;->setVerticalFadingEdgeEnabled(Z)V

    .line 445
    invoke-virtual {v0}, Ljava/lang/String;->toLowerCase()Ljava/lang/String;

    move-result-object v2

    const-string v3, "px"

    const-string v4, ""

    invoke-virtual {v2, v3, v4}, Ljava/lang/String;->replaceAll(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I

    move-result v2

    invoke-virtual {p0, v2}, Lrexsee/core/browser/Browser;->setFadingEdgeLength(I)V

    .line 447
    iget-object v2, p0, Lrexsee/core/browser/Browser;->styleSheet:Lrexsee/core/style/StyleSheet;

    iget-object v1, v2, Lrexsee/core/style/StyleSheet;->scrollbar_y:Ljava/lang/String;

    .line 448
    .local v1, "scrollbar":Ljava/lang/String;
    const-string v2, "hidden"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_2

    .line 449
    invoke-virtual {p0, v6}, Lrexsee/core/browser/Browser;->setHorizontalScrollBarEnabled(Z)V

    .line 450
    invoke-virtual {p0, v6}, Lrexsee/core/browser/Browser;->setVerticalScrollBarEnabled(Z)V

    .line 458
    :goto_1
    return-void

    .line 437
    .end local v0    # "fadingEdgeLength":Ljava/lang/String;
    .end local v1    # "scrollbar":Ljava/lang/String;
    :cond_1
    invoke-virtual {p0}, Lrexsee/core/browser/Browser;->getSettings()Landroid/webkit/WebSettings;

    move-result-object v2

    invoke-virtual {v2, v6}, Landroid/webkit/WebSettings;->setBuiltInZoomControls(Z)V

    goto :goto_0

    .line 452
    .restart local v0    # "fadingEdgeLength":Ljava/lang/String;
    .restart local v1    # "scrollbar":Ljava/lang/String;
    :cond_2
    invoke-virtual {p0, v5}, Lrexsee/core/browser/Browser;->setHorizontalScrollBarEnabled(Z)V

    .line 453
    invoke-virtual {p0, v5}, Lrexsee/core/browser/Browser;->setVerticalScrollBarEnabled(Z)V

    .line 454
    iget-object v2, p0, Lrexsee/core/browser/Browser;->styleSheet:Lrexsee/core/style/StyleSheet;

    invoke-virtual {v2}, Lrexsee/core/style/StyleSheet;->getScrollbarYStyle()I

    move-result v2

    invoke-virtual {p0, v2}, Lrexsee/core/browser/Browser;->setScrollBarStyle(I)V

    .line 455
    const-string v2, "visible"

    invoke-virtual {v1, v7}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_3

    move v2, v6

    :goto_2
    invoke-virtual {p0, v2}, Lrexsee/core/browser/Browser;->setScrollbarFadingEnabled(Z)V

    goto :goto_1

    :cond_3
    move v2, v5

    goto :goto_2
.end method

.method public setTouchListener(Landroid/view/GestureDetector;)V
    .locals 1
    .param p1, "detector"    # Landroid/view/GestureDetector;

    .prologue
    .line 313
    new-instance v0, Lrexsee/core/browser/clazz/TouchListener;

    invoke-direct {v0, p0, p1}, Lrexsee/core/browser/clazz/TouchListener;-><init>(Lrexsee/core/browser/Browser;Landroid/view/GestureDetector;)V

    invoke-virtual {p0, v0}, Lrexsee/core/browser/Browser;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    .line 314
    return-void
.end method

.method public setWindowCreateCloseListener(Lrexsee/core/browser/clazz/WindowCreateCloseListener;)V
    .locals 3
    .param p1, "listener"    # Lrexsee/core/browser/clazz/WindowCreateCloseListener;

    .prologue
    const/4 v2, 0x1

    const/4 v1, 0x0

    .line 464
    invoke-virtual {p0}, Lrexsee/core/browser/Browser;->getSettings()Landroid/webkit/WebSettings;

    move-result-object v0

    .line 465
    .local v0, "websettings":Landroid/webkit/WebSettings;
    if-nez p1, :cond_0

    .line 466
    invoke-virtual {v0, v1}, Landroid/webkit/WebSettings;->setJavaScriptCanOpenWindowsAutomatically(Z)V

    .line 467
    invoke-virtual {v0, v1}, Landroid/webkit/WebSettings;->setSupportMultipleWindows(Z)V

    .line 472
    :goto_0
    iput-object p1, p0, Lrexsee/core/browser/Browser;->windowListener:Lrexsee/core/browser/clazz/WindowCreateCloseListener;

    .line 473
    return-void

    .line 469
    :cond_0
    invoke-virtual {v0, v2}, Landroid/webkit/WebSettings;->setJavaScriptCanOpenWindowsAutomatically(Z)V

    .line 470
    invoke-virtual {v0, v2}, Landroid/webkit/WebSettings;->setSupportMultipleWindows(Z)V

    goto :goto_0
.end method
